package com.lyf.boot.base.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.lyf.boot.core.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @author Luyufan
 * @date 2023/8/16 10:05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_sys_config")
public class SysConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 268534579437094244L;

    /**
     * 配置id
     */
    @TableId(value = "config_id", type = IdType.ASSIGN_ID)
    private Long configId;

    /**
     * 配置名称
     */
    private String configName;

    /**
     * 配置key
     */
    private String configKey;

    /**
     * 配置值
     */
    private String configValue;

    /**
     * 是否内置
     */
    private String configType;

    /**
     * 备注
     */
    @TableField(value = "remark", updateStrategy = FieldStrategy.ALWAYS)
    private String remark;
}
